package com.yuyou.activity.comm.service.service.impl;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.yuyou.activity.comm.service.entity.CommKeyConfig;
import com.yuyou.activity.comm.service.mapper.CommKeyConfigMapper;
import com.yuyou.activity.comm.service.service.ICommKeyConfigService;

@Service
public class CommKeyConfigServiceImpl implements ICommKeyConfigService {

	@Autowired
	private CommKeyConfigMapper commKeyConfigMapper;
	
	@Override
	public int deleteByPrimaryKey(String id) {
		return commKeyConfigMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(CommKeyConfig record) {
		return commKeyConfigMapper.insert(record);
	}

	@Override
	public CommKeyConfig selectByPrimaryKey(String id) {
		return commKeyConfigMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(CommKeyConfig record) {
		return commKeyConfigMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public CommKeyConfig selectByDataKey(String dataKey) {
		return commKeyConfigMapper.selectByDataKey(dataKey);
	}


}